home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / OpenDoc 1.2b2c1 / OpenDoc / Interfaces / IDL / MssgIntf.idl < prev    next >
Encoding:
Text File  |  1997-02-13  |  2.2 KB  |  95 lines  |  [TEXT/MPS ]

  1. //#    Copyright:    © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  2.  
  3. #ifndef _MSSGINTF_
  4. #define _MSSGINTF_
  5.  
  6. #ifndef _ODOBJECT_
  7. #include "ODObject.idl"
  8. #endif
  9.  
  10. //==============================================================================
  11. // Classes defined in this interface
  12. //==============================================================================
  13.  
  14. interface  ODMessageInterface;
  15.  
  16. //==============================================================================
  17. // Classes used by this interface
  18. //==============================================================================
  19.  
  20. interface  ODFrame;
  21. interface  ODPart;
  22. interface  ODAppleEvent;
  23. interface  ODAddressDesc;
  24. interface  ODObjectSpec;
  25.  
  26.  
  27. //==============================================================================
  28. // ODMessageInterface
  29. //==============================================================================
  30.  
  31. interface ODMessageInterface : ODObject
  32. {
  33.    void CreatePartAddrDesc(out        ODAddressDesc    theAddressDesc,
  34.                             in        ODPart            part);
  35.     
  36.    void CreatePartObjSpec(out    ODObjectSpec    theObjSpec,
  37.                             in  ODPart            thePart);
  38.     
  39.    ODSShort      CreateEvent(in         ODEventClass    theAEEventClass,
  40.                                 in        ODEventID        theAEEventID,
  41.                                 in        ODAddressDesc    target,
  42.                                 in        ODSLong            transactionID,
  43.                                 out        ODAppleEvent    theResult);
  44.  
  45.    void        Send(in        ODFrame            toFrame,
  46.                     in        ODPart            fromPart,
  47.                     in        ODAppleEvent    theAppleEvent,
  48.                     in        ODAppleEvent    reply,
  49.                     in        ODSendMode        sendMode,
  50.                     in        ODSendPriority    sendPriority,
  51.                     in        ODULong            timeOutInTicks);
  52.  
  53.    ODBoolean  ProcessSemanticEvent(in ODEventData theEvent);
  54.  
  55.  
  56. #ifdef __SOMIDL__
  57.     implementation
  58.     {
  59.         majorversion = 1; minorversion = 0;
  60.  
  61.           functionprefix = ODMessageInterface;
  62.  
  63.         override:
  64.             somUninit;
  65.         releaseorder:
  66.             CreateEvent,
  67.             CreatePartAddrDesc,
  68.             CreatePartObjSpec,
  69.             Send,
  70.             ProcessSemanticEvent,
  71.             reserved1,
  72.             reserved2,
  73.             reserved3,
  74.             reserved4,
  75.             reserved5,
  76.             reserved6,
  77.             reserved7,
  78.             reserved8,
  79.             reserved9,
  80.             reserved10,
  81.             reserved11,
  82.             reserved12,
  83.             reserved13,
  84.             reserved14,
  85.             reserved15,
  86.             reserved16,
  87.             reserved17,
  88.             reserved18;
  89.  
  90.     };
  91. #endif //# __SOMIDL__
  92. };
  93.  
  94. #endif    //#    _MSSGINTF_
  95.